<div class="admin-sidebar am-offcanvas" id="admin-offcanvas">
    <div class="am-offcanvas-bar admin-offcanvas-bar">
        <ul class="am-list admin-sidebar-list">
            <li><a href="/admin" class="{{$_admin or ''}}"><span class="am-icon-home"></span> 首页</a></li>
            <li class="admin-parent">
                <a class="am-cf" data-am-collapse="{target: '#collapse-shop'}"><span class="am-icon-shopping-cart"></span>
                    商城中💖 <span class="am-icon-angle-right am-fr am-margin-right"></span></a>
                <ul class="am-list am-collapse admin-sidebar-sub {{$_shop or ''}}" id="collapse-shop">
                    <li><a href="admin-user.html" class="am-cf"><span class="am-icon-check"></span>
                            个人资料<span class="am-icon-star am-fr am-margin-right admin-icon-yellow"></span></a></li>
                    <li><a href="admin-help.html"><span class="am-icon-puzzle-piece"></span> 帮助页</a></li>
                    <li>
                        <a href="{{route('shop.products.index')}}" class="{{$_product or ''}}"><span class="am-icon-product-hunt"></span>
                            商品管理<span class="am-badge am-badge-secondary am-margin-right am-fr">{{App\Models\Shop\Product::count()}}</span>
                        </a>
                    </li>
                    <li>
                        <a href="{{route('shop.categories.index')}}" class="{{$_category or ''}}"><span class="am-icon-calendar"></span>
                            商品分类
                        </a>
                    </li>
                    <li>
                        <a href="{{route('shop.brands.index')}}" class="{{$_brand or ''}}"><span class="am-icon-apple"></span>
                            商品品牌<span class="am-badge am-badge-success am-margin-right am-fr">{{App\Models\Shop\Brand::count()}}</span>
                        </a>
                    </li>
                </ul>
            </li>

            <li class="admin-parent">
                <a class="am-cf" data-am-collapse="{target: '#collapse-system'}"><span class="am-icon-spinner"></span>
                    系统管理<span class="am-icon-angle-right am-fr am-margin-right"></span></a>
                <ul class="am-list am-collapse admin-sidebar-sub am-in" id="collapse-system">
                    <li><a href="{{route('system.cache.index')}}" class="am-cf"><span class="am-icon-check"></span>
                            清除缓存<span class="am-icon-star am-fr am-margin-right admin-icon-yellow"></span></a></li>
                    <li><a href="admin-help.html"><span class="am-icon-puzzle-piece"></span> 系统日志</a></li>
                    <li><a href="admin-gallery.html"><span class="am-icon-th"></span>
                            系统设置<span class="am-badge am-badge-secondary am-margin-right am-fr">24</span></a></li>
                    <li><a href="{{route('system.file.index')}}"><span class="am-icon-file"></span> 文件管理</a></li>
                </ul>
            </li>
        </ul>

        <div class="am-panel am-panel-default admin-sidebar-panel">
            <div class="am-panel-bd">
                <p><span class="am-icon-bookmark"></span> 公告</p>
                <p>时光静好，与君语；细水流年，与君同。—— Amaze UI</p>
            </div>
        </div>

        <div class="am-panel am-panel-default admin-sidebar-panel">
            <div class="am-panel-bd">
                <p><span class="am-icon-tag"></span> wiki</p>
                <p>Welcome to the Amaze UI wiki!</p>
            </div>
        </div>
    </div>
</div>
